﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections;
using System.Reflection;
using System.Data;
using System.Configuration;

/// <summary>
/// Summary description for Global
/// </summary>

public class Global
{
    public static System.Globalization.CultureInfo oCulture = new System.Globalization.CultureInfo("en-US");
    public static string GetFileExtension(string strFileName)
    {
        if (strFileName == "")
        {
            return "";
        }
        else
        {
            if (strFileName.LastIndexOf('.') > -1)
            {
                return strFileName.Substring(strFileName.LastIndexOf('.'));
            }
            else
            {
                return "";
            }
        }
    }
 
}
